package com.hospital.hospitalserver.entity.demo;

import lombok.Data;

import java.time.LocalDate;
import java.time.LocalDateTime;

/**
 * 模拟医保账户
 * */
@Data
public class MedicalInsurance {
    private Integer insurance_id; //医保账户ID
    private String insurance_card_number; //医保卡号
    private Integer patient_id; //关联患者ID --- 这里用不上
    private String patient_name; //患者姓名
    private String id_number; //身份证号
    private String phone_number; //手机号码
    private String insurance_type; //医保类型: urban_employee城镇职工
    private String insurance_status; //账户状态: active正常, suspended暂停, terminated终止, frozen冻结
    private String insurance_city; //参保城市
    private String insurance_institution; //参保机构
    private Double personal_account_balance; //个人账户余额
    private Double annual_deductible_used; //年度起付线已使用金额
    private Double annual_reimbursement_used; //年度报销额度已使用金额
    private Double reimbursement_rate; //医保报销比例
    private LocalDate effective_date; //生效日期
    private LocalDate expiry_date; //失效日期
    private Integer is_family_account; //是否家庭共济账户
    private String family_head_card_number; //家庭户主卡号
    private String qr_code_data; //医保二维码数据
    private LocalDateTime last_sync_time; //最后同步时间
    private LocalDateTime create_time;
    private LocalDateTime update_time;
}
